# dispositivo 2.4Ghz
config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/ar934x_wmac'
	option htmode 'HT20'
	option country 'BO'      # normativa boliviana
	option disabled '0'	 
	option channel '7'	 # canal comun
	option txpower '19'	 
	option distance '1000'
# dispositivo 5Ghz
config wifi-device 'radio1'
	option type 'mac80211'
	option txpower '22'
	option country 'BO'	 # normativa boliviana
	option channel '153'     # canal comun
	option hwmode '11a'
	option path 'pci0000:00/0000:00:00.0'
	option htmode 'HT20'
	option disabled '0'

# 5 Ghz mesh
config wifi-iface
	option device 'radio1'
	option network 'mesh5'
	option mode 'adhoc'
	option ssid 'lapaz.laotrared.net' # SSID comun
	option bssid 'BE:BA:CA:FE:BE:BE'  # MAC comun 5Ghz
	option encryption 'psk2'
	option key 'l0r-l4pAz-orig'

# 2.4 Ghz mesh
config wifi-iface
	option device 'radio0'
	option mode 'adhoc'
	option network 'mesh24'
	option ssid 'lapaz.laotrared.net' # SSID comun
	option bssid 'BE:BA:CA:FE:B3:B3'  # MAC comun 2.4Ghz
	option encryption 'psk2'
	option key 'l0r-l4pAz-orig'

# 2.4 Ghz clientes
config wifi-iface
	option device 'radio0'
	option mode 'ap'
	option encryption 'none'
	# para cifrar, quitar la linea anterior y descomentar las siguientes 2
	# option encryption 'psk2'
	# optiion key 'Clave del Wi-fi'
	option ssid 'LaOtraRed - Libre'
	option network 'lan'